<%@page import="com.baoyanghui.common.Constants"%>
<%@page import="com.baoyanghui.config.Configs"%>
<%@page import="com.baoyanghui.common.Utils"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
	if (Utils.empty((String)request.getSession().getAttribute(Configs.SESSION_USER_ID))
			|| (Constants.USER_TYPE_CUSTOMER == (Integer)request.getSession().getAttribute(Configs.SESSION_USER_TYPE))) {
		response.getWriter().print("<script type='text/javascript'>\n");
		response.getWriter().print("window.location.href='" + request.getContextPath() + "/index.jsp';\n");
		response.getWriter().print("</script>\n");
		response.getWriter().flush();
		return;
	}
%>
<script type="text/javascript" src="../js/message_list.js"></script>
<div align="left" style="width: 315px; float: left;">
	<div style="padding-left: 18px; padding-top: 10px;">
		<img class="pointer fade_effect" id="img_receive" src="../image/btn_receive_box_on.png" onclick="showMessageList(1);"/>
		<img class="pointer fade_effect" id="img_send" src="../image/btn_send_box_off.png" onclick="showMessageList(3);"/>
	</div>
	<div id="div_message_list"></div>
</div>
<div id="div_message_detail" style="width:660px; height:500px; float: left; border-left: 1px solid gray;">
</div>
<div style="clear: both;"></div>